package com.realestate.services;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.realestate.dao.ProductCommonAttributeValueDao;
import com.realestate.model.BrtbProductCommonAttrValue;

@Service
public class ProductCommonAttributeValueServiceImpl implements ProductCommonAttributeValueService{
	
	@SuppressWarnings("unused")
	private static final Logger LOGGER = Logger.getLogger(ProductCommonAttributeValueServiceImpl.class);
	
	@Autowired
    private ProductCommonAttributeValueDao commonAttributeValueDao;
 

	@Override
	public List<BrtbProductCommonAttrValue> getAllCommonAttributesOfAProduct(Long productId) {
		return commonAttributeValueDao.getAllCommonAttributesOfAProduct(productId);
	}
}
